﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data.SqlClient;

namespace llibreria_alsas
{
    class BDConnexio
    {
        public static SqlConnection obtenirConnexio()
        {
            string connexio =
                ConfigurationManager.ConnectionStrings["connexio"].ConnectionString;
            SqlConnection con = new SqlConnection(connexio);

            return con;

        }



    }
}
